<template>
  <Card :idobject="idobject" :itemid="itemid" >
    <template v-slot="slotProps">
      <ContactCardHead :hastag="slotProps.data.hastag" :headinfo="slotProps.data.headinfo" :handleAddTag="slotProps.data.handleAddTag" :tags="slotProps.data.tags"></ContactCardHead>
    </template>
  </Card>
</template>

<script setup lang="ts">
import Card from "@/components/common/Card.vue";
import ContactCardHead from "@/components/base/Contact/ContactCardHead.vue";
import {onActivated,ref} from "vue"
import { useRoute, useRouter } from "vue-router";

const router = useRouter();
const route = useRoute();

const idobject = ref("");
const itemid = ref("");
const idtemplate = ref("");

idobject.value = route.query.idobject as string
itemid.value = route.query.itemid as string
idtemplate.value = route.query.idtemplate as string


onActivated(()=>{
  window.scrollTo(0, 0);
})


</script>

<style scoped>
</style>